package xyz.ddlnt.model.entity;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @author ZZULI_SE 210910
 * @data 2025/5/3 20:45
 */
@Schema(description = "帖子浏览历史记录表")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class PostHistoryRecord {
    @Schema(description = "id")
    private Long id;
    @Schema(description = "帖子 id")
    private Long postId;
    @Schema(description = "用户 id")
    private Long userId;
    @Schema(description = "浏览时间")
    private LocalDateTime browseTime;
}
